<% if surveys.length.zero? %>
  <%= cell("decidim/announcement", t("decidim.surveys.surveys.no_surveys_warning"), callout_class: "warning" ) %>
<% else %>
  <h2 class="h5 md:h3 decorator"><%= t("surveys_count", scope: "decidim.surveys.surveys.count", count: surveys.count) %></h2>

  <div class="card__list-list">
    <% surveys.each do |survey| %>
      <%= card_for survey %>
    <% end %>
  </div>

  <%= decidim_paginate surveys %>
<% end %>
